package com.lening.iot.dao;

import com.lening.iot.po.Community;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @ToDo:
 * @Author：李忠达
 * @date: 2024/6/20 20:46
 */
public interface CommunityDAO {
    @Select("SELECT cid, community_name FROM community WHERE cid = #{cid}")
    Community selectCommunityById(@Param("cid") Long cid);
}
